package simtools.wizard;


public class CdnParameters {
	
	private void getNetworkTopologyParameters() {
		NetworkTopology networkTopology = NetworkTopology.getInstance();
		NetworkTopologyParameters networkTopologyParameters = NetworkTopologyParameters.getInstance();
		
		
		networkTopologyParameters.setRoutersFile(networkTopology.getRouterPath());
		
		networkTopologyParameters.setRoutersFile(networkTopology.getRouterPath());
		networkTopologyParameters.setDefaultLinkSpeed(networkTopology.getDefaultLinkSpeed());
		
		networkTopologyParameters.setClientsOutgoingConnections(networkTopology.getClientOutgoingConnections());
		networkTopologyParameters.setMeanWaitingTimePerRetry(networkTopology.getMeanWaitingTimePerRetry());
		networkTopologyParameters.setNumberOfRetries(networkTopology.getNumberOfRetries());
		
		networkTopologyParameters.setPlacement(networkTopology.getPlacement());
		networkTopologyParameters.setNumberOfSurrogates(networkTopology.getNumberOfSurrogates());
		networkTopologyParameters.setSurrogateOutgoingConnections(networkTopology.getSurrogateOutgoingConnection());
		networkTopologyParameters.setSurrogateIncomingConnections(networkTopology.getSurrogateIncomingConnections());
		
		networkTopologyParameters.setNumberOfOriginServers(networkTopology.getNumberOfOriginServers());
		networkTopologyParameters.setOriginServerIncomingConnections(networkTopology.getOriginServerIncomingConnections());
		
	}
	
	public void getParameters() {
		getNetworkTopologyParameters();
	}
}
